﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006D9 RID: 1753
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFirstTalkNpcCsReq : IMessage<GetFirstTalkNpcCsReq>, IMessage, IEquatable<GetFirstTalkNpcCsReq>, IDeepCloneable<GetFirstTalkNpcCsReq>, IBufferMessage
	{
		// Token: 0x17001686 RID: 5766
		// (get) Token: 0x06004EF5 RID: 20213 RVA: 0x000D7464 File Offset: 0x000D5664
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFirstTalkNpcCsReq> Parser
		{
			get
			{
				return GetFirstTalkNpcCsReq._parser;
			}
		}

		// Token: 0x17001687 RID: 5767
		// (get) Token: 0x06004EF6 RID: 20214 RVA: 0x000D746B File Offset: 0x000D566B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFirstTalkNpcCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001688 RID: 5768
		// (get) Token: 0x06004EF7 RID: 20215 RVA: 0x000D747D File Offset: 0x000D567D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFirstTalkNpcCsReq.Descriptor;
			}
		}

		// Token: 0x06004EF8 RID: 20216 RVA: 0x000D7484 File Offset: 0x000D5684
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFirstTalkNpcCsReq()
		{
		}

		// Token: 0x06004EF9 RID: 20217 RVA: 0x000D7497 File Offset: 0x000D5697
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFirstTalkNpcCsReq(GetFirstTalkNpcCsReq other) : this()
		{
			this.npcIdList_ = other.npcIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004EFA RID: 20218 RVA: 0x000D74C1 File Offset: 0x000D56C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFirstTalkNpcCsReq Clone()
		{
			return new GetFirstTalkNpcCsReq(this);
		}

		// Token: 0x17001689 RID: 5769
		// (get) Token: 0x06004EFB RID: 20219 RVA: 0x000D74C9 File Offset: 0x000D56C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> NpcIdList
		{
			get
			{
				return this.npcIdList_;
			}
		}

		// Token: 0x06004EFC RID: 20220 RVA: 0x000D74D1 File Offset: 0x000D56D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFirstTalkNpcCsReq);
		}

		// Token: 0x06004EFD RID: 20221 RVA: 0x000D74DF File Offset: 0x000D56DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFirstTalkNpcCsReq other)
		{
			return other != null && (other == this || (this.npcIdList_.Equals(other.npcIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004EFE RID: 20222 RVA: 0x000D7514 File Offset: 0x000D5714
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.npcIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004EFF RID: 20223 RVA: 0x000D7548 File Offset: 0x000D5748
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004F00 RID: 20224 RVA: 0x000D7550 File Offset: 0x000D5750
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004F01 RID: 20225 RVA: 0x000D7559 File Offset: 0x000D5759
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.npcIdList_.WriteTo(ref output, GetFirstTalkNpcCsReq._repeated_npcIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004F02 RID: 20226 RVA: 0x000D7580 File Offset: 0x000D5780
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.npcIdList_.CalculateSize(GetFirstTalkNpcCsReq._repeated_npcIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004F03 RID: 20227 RVA: 0x000D75B9 File Offset: 0x000D57B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFirstTalkNpcCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.npcIdList_.Add(other.npcIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004F04 RID: 20228 RVA: 0x000D75E7 File Offset: 0x000D57E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004F05 RID: 20229 RVA: 0x000D75F0 File Offset: 0x000D57F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U && num != 26U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.npcIdList_.AddEntriesFrom(ref input, GetFirstTalkNpcCsReq._repeated_npcIdList_codec);
				}
			}
		}

		// Token: 0x04001F13 RID: 7955
		private static readonly MessageParser<GetFirstTalkNpcCsReq> _parser = new MessageParser<GetFirstTalkNpcCsReq>(() => new GetFirstTalkNpcCsReq());

		// Token: 0x04001F14 RID: 7956
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001F15 RID: 7957
		public const int NpcIdListFieldNumber = 3;

		// Token: 0x04001F16 RID: 7958
		private static readonly FieldCodec<uint> _repeated_npcIdList_codec = FieldCodec.ForUInt32(26U);

		// Token: 0x04001F17 RID: 7959
		private readonly RepeatedField<uint> npcIdList_ = new RepeatedField<uint>();
	}
}
